package com.wu.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @ClassName RequestException
 * @Author wuxuan
 * @Date 2019/3/2 17:30
 * @Version 1.0
 * @Description
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RequestException {

    private int state;
    private String msg;
    private String exception;
    private String time;

    public RequestException() {
    }

    public RequestException(int state, String msg, String exception, String time) {
        this.state = state;
        this.msg = msg;
        this.exception = exception;
        this.time = time;
    }
}
